package tech.yangzhijie.basic.knowledge.basic;

import cn.hutool.Hutool;

public class HuToolsTests {

    public static void main(String[] args) {
        name03();
    }

    public static void name03() {
        int row = 9;
        for (int i=0,k=row,m=0;i< row;i++){
            for(int l=m-i;l>0;l--){
                System.out.print("\t");
            }
            for(int j=k-i;j>0;j--){
                System.out.print("*\t");
            }
            if(i>row/2-1){
                k+=3;
                m=row-1;
            }else {
                k-=1;
                m+=2;
            }
            System.out.println();
        }
    }
}
